/* -------------------------------------------------------- antd -- */
import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'
import 'dayjs/locale/zh-cn'
/* -------------------------------------------------------- 国际化：汉化语言 -- */
const Index = ({ children, theme=window.$config.theme }) => <ConfigProvider locale={ zhCN } theme={theme}>{children}</ConfigProvider>

export default Index